<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>恒道人力资源管理系统</title>
    <link rel="stylesheet" href="/Public/Theme1/login2/assets/css/layer.css">
    <link rel="stylesheet" href="/Public/Theme1/login2/assets/css/main.css">
    <link rel="stylesheet" href="/Public/Theme1/login2/assets/css/animate.min.css">
    <script src="/Public/Theme1/login2/assets/js/jquery.js"></script>
    <script src="/Public/Theme1/login2/assets/js/layer.js"></script>
</head>
<body>
  <div class="bbox">
    <div class="header">
        <img src="/Public/Theme1/login2/assets/images/logo.png" alt="">
        <i></i>
        <p>人力资源管理系统-V1.0</p>
    </div>
    <div class="main">
        <div class="main-box">
        <img src="/Public/Theme1/login2/assets/images/china-map.png" class="chinamap">
        <i class="tel animated bounceIn"></i>
        <i class="map-p1 animated bounceIn"></i>
        <i class="map-p2 animated bounceIn"></i>
        <i class="map-p3 animated bounceIn"></i>
        <div class="login">
            <h1>登录</h1>
            <form action="/Login/CheckLogin/"  method="POST" >
             <div class="username animated fadeInUp">
                 <div>
                   <input type="text" placeholder="用户名" name="aUser" id="username">
                 </div>
             </div>
             <div class="password animated fadeInUp">
                 <div>
                    <input type="password" placeholder="密码" name="aPwd" maxlength="16" id="password">
                 </div>
            </div>
            <!-- <div class="error">
                    <input type="text" placeholder="用户名或密码错误！" name="error" maxlength="16" disabled="disabled">

            </div> -->
            <?php if($rs_systemName["sCheckCodeSwitch"] == 1): ?><div class="code_box animated fadeInUp"><input
      				type="text" class="code" name="code" placeholder="验证码" required
      				style="" required></div>
      			<img class="animated fadeInUp cp" alt="点击更换" title="点击更换" src="/Verify/Verify/"
      				onclick="this.src='/Verify/Verify/random/'+Math.random();"
      				width="100px"  style="margin-top: 29px;"><?php endif; ?>
            <!-- <p id="upe">用户名或密码不能为空！</p> -->
            <button type="submit" id="submit" class="animated fadeInUp">登录</button>
            <!-- <div class="pw-fr">
                <a href="#" class="forgetpw">忘记密码?</a>
              <a href="#" class="registered">注册账号</a>
            </div> -->
            <b class="animated fadeInUp">Version 1.0</b>
        </form>
        </div>
        </div>
    </div>
    <p class="copyright">Copyriht @2018 广东恒道企业管理有限公司 版权所有</p>
   </div>
</body>
<!-- <script>
    // var er=document.getElementById("upe");
    function sb1(){
          var username = document.getElementById("username");
          var password = document.getElementById("password");
          var zwpp= /[\u4E00-\u9FA5]/;
          if(trim(username.value)==null || trim(username.value)==""){
            layer.msg('用户名或密码不能为空！');
             username.focus();
              return false;
          }
          if(trim(password.value) == null || trim(password.value) == ""){
             layer.msg('用户名或密码不能为空！');
             password.focus();
             return false;
          }
          if(zwpp.test(username.value)){
            layer.msg('用户名不能为中文！');
             username.focus();
              return false;
          }
        return true;
     }
     function trim(str){ //删除左右两端的空格
     　　return str.replace(/(^\s*)|(\s*$)/g, "");
     }

</script> -->
</html>